Pain management based on emotional expression measurements

ABSTRACT

This document discusses, among other things, systems and methods for managing pain in a subject. A system may include one or more sensors configured to sense from the subject information corresponding to emotional reaction to pain, such as emotional expression. The emotional expression includes facial or vocal expression. A pain analyzer circuit may generate a pain score using signal metrics of facial or vocal expression extracted from the sensed information. The pain score may be output to a user or a process. The system may additionally include a neurostimulator that can adaptively control the delivery of pain therapy by automatically adjusting stimulation parameters based on the pain score.

CLAIM OF PRIORITY

This application claims the benefit of priority under 35 U.S.C. § 119(e) of U.S. Provisional Patent Application Ser. No. 62/445,082, filed on Jan. 11, 2017, which is herein incorporated by reference in its entirety.

CROSS REFERENCE TO RELATED APPLICATIONS

This application is related to commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,053, entitled “PAIN MANAGEMENT USING CARDIOVASCULAR PARAMETERS”, filed on Jan. 11, 201, U.S. Provisional Patent Application Ser. No. 62/445,061, entitled “PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING”, filed on Jan. 11, 2017, U.S. Provisional Patent Application Ser. No. 62/445,069, entitled “PAIN MANAGEMENT BASED ON RESPIRATION-MEDIATED HEART RATES”, filed on Jan. 11, 2017, U.S. Provisional Patent Application Ser. No. 62/445,075, entitled “PAIN MANAGEMENT BASED ON FUNCTIONAL MEASUREMENTS”, filed on Jan. 11, 2017, U.S. Provisional Patent Application Ser. No. 62/445,092, entitled “PAIN MANAGEMENT BASED ON MUSCLE TENSION MEASUREMENTS”, filed on Jan. 11, 2017, U.S. Provisional Patent Application Ser. No. 62/445,095, entitled “PATIENT-SPECIFIC CALIBRATION OF PAIN QUANTIFICATION”, filed on Jan. 11, 2017, U.S. Provisional Patent Application Ser. No. 62/395,641, entitled “METHOD AND APPARATUS FOR PAIN MANAGEMENT USING HEART SOUNDS”, filed on Sep. 16, 2016, U.S. Provisional Patent Application Ser. No. 62/400,313, entitled “SYSTEMS AND METHODS FOR CLOSED-LOOP PAIN MANAGEMENT”, filed on Sep. 27, 2016, U.S. Provisional Patent Application Ser. No. 62/400,336, entitled “METHOD AND APPARATUS FOR PAIN MANAGEMENT USING OBJECTIVE PAIN MEASURE”, filed on Sep. 27, 2016, U.S. Provisional Patent Application Ser. No. 62/412,587, entitled “METHOD AND APPARATUS FOR PAIN CONTROL USING BAROREFLEX SENSITIVITY DURING POSTURE CHANGE”, filed on Oct. 25, 2016, which are incorporated by reference in their entirety.

TECHNICAL FIELD

This document relates generally to medical systems and more particularly to systems, devices, and methods for pain management.

BACKGROUND

Pain is one of the most common and among the most personally compelling reasons for seeking medical attention, and consumes considerable healthcare resources each year. The relation between etiology, underlying mechanisms and the specific symptoms and signs related to painful disorders is complex. Pain in an individual patient may be produced by more than one mechanism.

Chronic pain, such as pain present most of the time for a period of six months or longer during the prior year, is a highly pervasive complaint and consistently associated with psychological illness. Chronic pain may originate with a trauma, injury or infection, or there may be an ongoing cause of pain. Chronic pain may also present in the absence of any past injury or evidence of body damage. Common chronic pain can include headache, low back pain, cancer pain, arthritis pain, neurogenic pain (pain resulting from damage to the peripheral nerves or to the central nervous system), or psychogenic pain (pain not due to past disease or injury or any visible sign of damage inside or outside the nervous system).

Chronic pain may be treated or alleviated using medications, acupuncture, surgery, and neuromodulation therapy such as local electrical stimulation or brain stimulation, among others. Examples of neuromodulation include Spinal Cord Stimulation (SCS), Deep Brain Stimulation (DBS), Peripheral Nerve Stimulation (PNS), and Functional Electrical Stimulation (FES). Implantable neuromodulation systems have been applied to deliver such a therapy. An implantable neuromodulation system may include an implantable neurostimulator, also referred to as an implantable pulse generator (IPG), which can electrically stimulate tissue or nerve centers to treat nervous or muscular disorders. In an example, an IPG can deliver electrical pulses to a specific region in a patient's spinal cord, such as particular spinal nerve roots or nerve bundles, to create an analgesic effect that masks pain sensation.

SUMMARY

By way of example, chronic pain management may involve determining appropriate treatment regimens such as SCS and evaluating therapy efficacy. Accurate pain assessment and characterization are desirable for managing patients with chronic pain. Currently, pain assessment generally relies on patient subjective report of pain symptoms, including severity, pattern, or duration of pain. Based on the patient reported pain sensation, a clinician may prescribe a pain therapy, such as to manually program an electrostimulator for delivering a neuromodulation therapy. However, the subjective description of pain sensation may be constrained by patient cognitive abilities. The subjective pain description may also be subject to intra-patient variation, such as due to a progression of a chronic disease, or a change in general health status or medication. Having a patient to report and describe each pain episode he or she has experienced is not efficient and may delay appropriate pain therapy. Additionally, for patients in an ambulatory setting who lack immediate access to medical assistance, manual adjustment of pain therapy by a clinician may not be feasible especially if immediate therapy titration is required. The present inventors have recognized that there remains a demand for improving pain management, such as systems and methods for objective pain assessment and automated closed-loop pain therapy based on objective pain assessment.

This document discusses, among other things, systems, devices, and methods for assessing pain in a subject. The system includes sensors to sense information corresponding to the subject's emotional reaction to pain. The system may extract one or more signal metrics of facial or vocal expression from the sensed information corresponding to the emotional reaction to pain, and generate a pain score using the one or more signature metrics. The pain score can be output to a system user, or used for closed-loop control of a pain therapy.

Example 1 is a system for managing pain of a patient. The system comprises a sensor circuit, a pain analyzer circuit, and an output unit. The sensor circuit may be coupled to one or more sensors and configured to sense from the patient information corresponding to patient emotional reaction to pain; a pain analyzer circuit coupled to the sensor circuit. The pain analyzer circuit may be configured to generate, from the sensed information corresponding to the patient emotional reaction to pain, one or more signal metrics of facial or vocal expression, and generate a pain score using the generated one or more signal metrics. The output unit configured to output the pain score to a user or a process.

In Example 2, the subject matter of Example 1 optionally includes an electrostimulator configured to generate electrostimulation energy to treat pain, and a controller circuit coupled to the pain analyzer circuit and the electrostimulator. The controller circuit may be configured to control the electrostimulator to deliver a pain therapy and to control the electrostimulation energy generated by the electrostimulator according to the pain score.

In Example 3, the subject matter of Example 2 optionally includes the electrostimulator that may be further configured to deliver at least one of: a spinal cord stimulation; a brain stimulation; or a peripheral nerve stimulation.

In Example 4, the subject matter of any one or more of Examples 2-3 optionally includes the controller circuit that may be configured to deliver first electrostimulation to the patient in response to the pain score exceeding a threshold value, and to deliver second electrostimulation to the patient in response to the pain score falling below the threshold value. The first electrostimulation may differ from the second electrostimulation with respect to at least one of an electrostimulation energy, an electrostimulation pulse shape, or an electrostimulation pattern.

In Example 5, the subject matter of any one or more of Examples 1-4 optionally includes the sensor circuit that may be coupled to a camera configured to capture a facial image of the patient. The pain analyzer circuit may be further configured to produce, from the facial image, a plurality of image features of a facial landmark, and to generate the pain score using the image features.

In Example 6, the subject matter of Example 5 optionally includes the pain analyzer circuit that may be further configured to generate the pain score based on a comparison of the produced plurality of image features and a facial image template.

In Example 7, the subject matter of any one or more of Examples 1-6 optionally includes the sensor circuit that may be coupled to a voice recorder configured to record a speech signal of the patient. The pain analyzer circuit may be configured to generate from the recorded speech signal a plurality of speech features, and to generate the pain score using the plurality of speech features.

In Example 8, the subject matter of Example 7 optionally includes the plurality of speech features correspond to speech motor control.

In Example 9, the subject matter of any one or more of Examples 1-8 optionally includes the sensor circuit coupled to an accelerometer sensor configured to sense skull vibration signal during patient speech. The pain analyzer circuit may be configured to generate, from the sensed skull vibration signal during patient speech, a plurality of vibration features, and to generate the pain score using the generated plurality of vibration features.

In Example 10, the subject matter of any one or more of Examples 1-9 optionally includes the one or more sensors configured to sense the information corresponding to the patient emotional reaction to pain are incorporated in a mobile device communicatively coupled to the pain analyzer circuit.

In Example 11, the subject matter of Example 10 optionally includes the mobile device that may be configured for wireless communication and to execute an application to detect the facial or vocal expression.

In Example 12, the subject matter of any one or more of Examples 1-11 optionally include the pain analyzer circuit that may be further configured to generate the pain score using a combination of a plurality of the signal metrics each weighted by their respective weight factor.

In Example 13, the subject matter of any one or more of Examples 1-12 optionally includes the pain analyzer circuit that may be further configured to generate the pain score using a combination of comparisons between the plurality of the signal metrics and respective threshold values.

In Example 14, the subject matter of any one or more of Examples 1-13 optionally includes the output unit that may be further configured to produce an alert based on the pain score.

In Example 15, the subject matter of any one or more of Examples 2-14 optionally includes an implantable neuromodulator device (IND) that includes one or more of the sensor circuit, the pain analyzer circuit, or the electrostimulator.

Example 16 is a method for managing pain of a patient using an implantable neuromodulator device (IND). The method comprises: sensing, from the patient via a sensor circuit, information corresponding to patient emotional reaction to pain; generating, from the sensed information corresponding to the patient emotional reaction to pain, one or more signal metrics of facial or vocal expression; generating a pain score based on the one or more signal metrics; and outputting the pain score to a user or a process.

In Example 17, the subject matter of Example 16 optionally includes delivering a pain therapy via the IND. The pain therapy may include electrostimulation energy determined according to the pain score.

In Example 18, the subject matter of any one or more of Examples 16-17 optionally includes the information corresponding to patient emotional reaction to pain includes a facial image of the patient. The one or more signal metrics may include a plurality of image features of a facial landmark generated from the sensed facial image.

In Example 19, the subject matter of Example 18 optionally includes generating the pain score including using a comparison of the produced plurality of image features and a facial image template.

In Example 20, the subject matter of any one or more of Examples 16-19 optionally includes the information corresponding to the patient emotional reaction to pain that may include a speech signal of the patient. The one or more signal metrics may include a plurality of speech features generated from the sensed speech signal.

In Example 21, the subject matter of Example 20 optionally includes a plurality of speech features corresponding to speech motor control.

In Example 22, the subject matter of any one or more of Examples 16-21 optionally includes the information corresponding to the patient emotional reaction to pain that may include skull vibration signal during patient speech. The one or more signal metrics include a plurality of vibration features generated from the sensed skull vibration signal during patient speech.

In Example 23, the subject matter of any one or more of Examples 16-22 optionally includes generating the pain score using a combination of a plurality of the signal metrics each weighted by their respective weight factor.

The pain score generated based on sensor signals indicative of patient emotional reactions to pain, such as based on the facial or vocal expressions as discussed in this document, may improve medical diagnostics of automated characterization of patient pain, as well as individualized therapies to alleviate pain and to reduce side effects. The systems, devices, and methods discussed in this document may also enhance the performance and functionality of a pain management system or device. A device or a system programmed with the sensor-based pain assessment methods can have improved automaticity in medical diagnostics. More efficient device memory or communication bandwidth usage may be achieved by storing or transmitting medical information more relevant to clinical decisions. Additionally, through improved pain therapy based on patient individual need and therapy efficacy, battery longevity of an implantable device may be enhanced, or pain medication volume may be saved.

This summary is intended to provide an overview of subject matter of the present patent application. It is not intended to provide an exclusive or exhaustive explanation of the disclosure. The detailed description is included to provide further information about the present patent application. Other aspects of the disclosure will be apparent to persons skilled in the art upon reading and understanding the following detailed description and viewing the drawings that form a part thereof, each of which are not to be taken in a limiting sense.

BRIEF DESCRIPTION OF THE DRAWINGS

Various embodiments are illustrated by way of example in the figures of the accompanying drawings. Such embodiments are demonstrative and not intended to be exhaustive or exclusive embodiments of the present subject matter.

FIG. 1 illustrates, by way of example and not limitation, a neuromodulation system and portions of an environment in which the neuromodulation system may operate.

FIG. 2 illustrates, by way of example and not limitation, a block diagram of a pain management system.

FIG. 3 illustrates, by way of example and not limitation, a block diagram of another pain management system.

FIG. 4 illustrates, by way of example and not limitation, a block diagram of a mobile device for detecting information corresponding to various emotional expressions indicative of pain.

FIG. 5 illustrates, by way of example and not limitation, a method for managing pain of a patient.

FIG. 6 illustrates, by way of example and not limitation, a block diagram of an example machine upon which any one or more of the techniques discussed herein may perform.

DETAILED DESCRIPTION

In the following detailed description, reference is made to the accompanying drawings which form a part hereof, and in which is shown by way of illustration specific embodiments in which the invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the invention, and it is to be understood that the embodiments may be combined, or that other embodiments may be utilized and that structural, logical and electrical changes may be made without departing from the spirit and scope of the present invention. References to “an”, “one”, or “various” embodiments in this disclosure are not necessarily to the same embodiment, and such references contemplate more than one embodiment. The following detailed description provides examples, and the scope of the present invention is defined by the appended claims and their legal equivalents.

Clinically, chronic pain may affect a patient's cognitive function, and cause emotional and psychological distress, depression, and motor control impairment. Normal speech production requires integration and integrity of cognitive, neuromuscular, and musculoskeletal activities. The underlying complexity of speech motor activities renders speech production vulnerable to subtle abnormalities in neurological or psychomotor functioning. In some patients, chronic pain may directly or indirectly result in abnormality in speech motor control, causing changes in vocal or behavioral expressions. Some patients may also present with characteristic facial expressions when a pain episode occurs or when pain worsens. Therefore, close monitoring and detection of changes in patient emotional expressions may provide an objective assessment of pain, and may be used to improve pain therapy efficacy.

Disclosed herein are systems, devices, and methods for or assessing pain in a subject, and optionally programming pain therapy based on the pain assessment. In various embodiments, the present system may include sensors configured to sense from the subject information corresponding to patient emotional reaction to pain. A pain analyzer circuit may generate a pain score using signal metrics of facial, vocal, or behavioral expression that are extracted from the sensed information corresponding to the patient emotional reaction to pain. The system may include a neurostimulator that can adaptively control the delivery of pain therapy by automatically adjusting stimulation parameters based on the pain score.

The present system may be implemented using a combination of hardware and software designed to provide a closed-loop pain management regimen to increase therapeutic efficacy, increase patient satisfaction for neurostimulation therapies, reduce side effects, and/or increase device longevity. The present system may be applied in any neurostimulation (neuromodulation) therapies, including but not limited to SCS, DBS, PNS, FES, and Vagus Nerve Stimulation (VNS) therapies. In various examples, instead of providing closed-loop pain therapies, the systems, devices, and methods described herein may be used to monitor the patient and assess pain that either occurs intrinsically or is induced by nerve block procedures or radiofrequency ablation therapies, among others. The patient monitoring may include generating recommendations to the patient or a clinician regarding pain treatment.

FIG. 1 illustrates, by way of example and not limitation, an example of a neuromodulation system 100 for managing pain in a subject such as a patient with chronic pain, and portions of an environment in which the neuromodulation system 100 may operate. The neuromodulation system 100 may include an implantable system 110 that may be associated with a body 199 of the subject, and an external system 130 in communication with the implantable system 110 via a communication link 120.

The implantable system 110 may include an ambulatory medical device (AMD), such as an implantable neuromodulator device (IND) 112, a lead system 114, and one or more electrodes 116. The IND 112 may be configured for subcutaneous implant in a patient's chest, abdomen, or other parts of the body 199. The IND 112 may be configured as a monitoring and diagnostic device. The IND 112 may include a hermetically sealed can that houses sensing circuitry to sense physiological or functional signals from the patient via sensing electrodes or ambulatory sensors associated with the patient and in communication with the IND 112. In some examples, the sensing electrodes or the ambulatory sensors may be included within the IND 112. The physiological or functional signals may be measured during a pain episode. In an example, the sensor signals may contain information corresponding to patient emotional reaction to pain. The emotional reaction may be presented by patient's facial, vocal, or behavioral expression, among other emotional expressions. The various emotional expressions may be correlative to severity of the pain. The IND 112 may characterize and quantify the pain, such as to determine onset, intensity, severity, duration, or patterns of the pain experienced by the subject. The IND 112 may generate an alert to indicate occurrence of a pain episode, pain exacerbation, or efficacy of pain therapy, and present the alert to a clinician.

The IND 112 may alternatively be configured as a therapeutic device for treating or alleviating the pain. In addition to pain monitoring circuitry, the IND 112 may further include a therapy unit that can generate and deliver energy or modulation agents to a target tissue. The energy may include electrical, magnetic, or other types of energy. In some examples, the IND 112 may include a drug delivery system such as a drug infusion pump that can deliver pain medication to the patient, such as morphine sulfate or ziconotide, among others.

The IND 112 may include electrostimulation circuitry that generates electrostimulation pulses to stimulate a neural target via the electrodes 116 operably connected to the IND 112. In an example, the electrodes 116 may be positioned on or near a spinal cord, and the electrostimulation circuitry may be configured to deliver SCS to treat pain. In another example, the electrodes 116 may be surgically placed at other neural targets such as a brain or a peripheral neutral tissue, and the electrostimulation circuitry may be configured to deliver brain or peripheral stimulations. Examples of electrostimulation may include deep brain stimulation (DBS), trigeminal nerve stimulation, occipital nerve stimulation, vagus nerve stimulation (VNS), sacral nerve stimulation, sphenopalatine ganglion stimulation, sympathetic nerve modulation, adrenal gland modulation, baroreceptor stimulation, or transcranial magnetic stimulation, spinal cord stimulation (SCS), dorsal root ganglia (DRG) stimulation, motor cortex stimulation (MCS), transcranial direct current stimulation (tDCS), transcutaneous spinal direct current stimulation (tsDCS), pudendal nerve stimulation, multifidus muscle stimulation, transcutaneous electrical nerve stimulation (TENS), tibial nerve stimulation, among other peripheral nerve or organ stimulation. The IND 112 may additionally or alternatively provide therapies such as radiofrequency ablation (RFA), pulsed radiofrequency ablation, ultrasound therapy, high-intensity focused ultrasound (HIFU), optical stimulation, optogenetic therapy, magnetic stimulation, other peripheral tissue stimulation therapies, other peripheral tissue denervation therapies, or nerve blocks or injections.

In various examples, the electrodes 116 may be distributed in one or more leads of the lead system 114 electrically coupled to the IND 112. In an example, the lead system 114 may include a directional lead that includes at least some segmented electrodes circumferentially disposed about the directional lead. Two or more segmented electrodes may be distributed along a circumference of the lead. The actual number and shape of leads and electrodes may vary according to the intended application. Detailed description of construction and method of manufacturing percutaneous stimulation leads are disclosed in U.S. Pat. No. 8,019,439, entitled “Lead Assembly and Method of Making Same,” and U.S. Pat. No. 7,650,184, entitled “Cylindrical Multi-Contact Electrode Lead for Neural Stimulation and Method of Making Same,” the disclosures of which are incorporated herein by reference. The electrodes 116 may provide an electrically conductive contact providing for an electrical interface between the IND 112 and tissue of the patient. The neurostimulation pulses are each delivered from the IND 112 through a set of electrodes selected from the electrodes 116. In various examples, the neurostimulation pulses may include one or more individually defined pulses, and the set of electrodes may be individually definable by the user for each of the individually defined pulses.

Although the discussion herein with regard to the neuromodulation system 100 focuses on implantable device such as the IND 112, this is meant only by way of example and not limitation. It is within the contemplation of the present inventors and within the scope of this document, that the systems, devices, and methods discussed herein may also be used for pain management via subcutaneous medical devices, wearable medical devices (e.g., wrist watch, patches, garment- or shoe-mounted device, etc.), or other external medical devices, or a combination of implantable, wearable, or other external devices. The therapy, such as electrostimulation or medical therapies, may be used to treat various neurological disorders other than pain, which by way of example and not limitation may include epilepsy, obsessive compulsive disorder, tremor, Parkinson's disease, or dystonia, among other movement and affective disorders.

The external system 130 may be communicated with the IND 112 via a communication link 120. The external system 130 may include a dedicated hardware/software system such as a programmer, a remote server-based patient management system, or alternatively a system defined predominantly by software running on a standard personal computer. The external system 130 may be configured to control the operation of the IND 112, such as to program a neuromodulation therapy. The external system 130 may additionally receive via the communication link 120 information acquired by IND 112, such as one or more sensor signals including information corresponding to pain-induced emotional or psychological expression. In an example, the external system 130 may determine a pain score based on the pain-induced emotional or psychological expression such as received from the IND 112, and program the IND 112 to deliver pain therapy in a closed-loop fashion. Examples of the external system and neurostimulation based on pain score are discussed below, such as with reference to FIGS. 2-3.

The communication link 120 may include one or more communication channels and intermediate devices between the external system and the IND, such as a wired link, a telecommunication link such as an internet connection, or a wireless link such as one or more of an inductive telemetry link, a radio-frequency telemetry link. The communication link 120 may provide for data transmission between the IND 112 and the external system 130. The transmitted data may include, for example, real-time sensor signals acquired by and stored in the IND 112, therapy history data, data indicating device operational status of the IND 112, one or more programming instructions to the IND 112 which may include configurations for sensing physiologic signal or stimulation commands and stimulation parameters, or device self-diagnostic test, among others. In some examples, the IND 112 may be coupled to the external system 130 further via an intermediate control device, such as a handheld external remote control device to remotely instruct the IND 112 to generate electrical stimulation pulses in accordance with selected stimulation parameters produced by the external system 130.

Portions of the IND 112 or the external system 130 may be implemented using hardware, software, firmware, or combinations thereof. Portions of the IND 112 or the external system 130 may be implemented using an application-specific circuit that may be constructed or configured to perform one or more particular functions, or may be implemented using a general-purpose circuit that may be programmed or otherwise configured to perform one or more particular functions. Such a general-purpose circuit may include a microprocessor or a portion thereof, a microcontroller or a portion thereof, or a programmable logic circuit, or a portion thereof. For example, a “comparator” may include, among other things, an electronic circuit comparator that may be constructed to perform the specific function of a comparison between two signals or the comparator may be implemented as a portion of a general-purpose circuit that may be driven by a code instructing a portion of the general-purpose circuit to perform a comparison between the two signals.

FIG. 2 illustrates, by way of example and not limitation, an example of a pain management system 200, which may be an embodiment of the neuromodulation system 100. The pain management system 200 may assess pain in a subject using signals indicative of patient emotional or psychological reaction to pain, and program a pain therapy based on the pain assessment. As illustrated in FIG. 2, the pain management system 200 may include a sensor circuit 210, a pain analyzer circuit 220, a memory 230, a user interface 240, and a therapy unit 250.

The sensor circuit 210 may be coupled to one or more sensors to sense from the patient signals indicative of patient emotional reaction to pain, which may include patient facial, vocal, or behavioral expression signals. The sensor circuit 210 may include sense amplifier circuit that may pre-process the sensed signals, including, for example, amplification, digitization, filtering, or other signal conditioning operations. The sensors may be ambulatory (e.g., implantable or wearable) sensors associated with the patient, stationary sensors mounted in a room or attached to furniture to detect patient motor activities or emotional expressions when the patient enters into, or remains within, an environment of patient daily life. The sensors may alternatively be disposed in a mobile device such as a smart phone, a wearable health monitor, a tablet, a laptop computer, or other types of portable computerized device.

In an example, the sensor circuit 210 may be coupled a camera to capture a facial image or a video sequence of the patient. In another example, the sensor circuit 210 may be coupled a microphone and a voice recorder to record voice or a speech of the patient. In yet another example, the sensor circuit 210 may be coupled to an accelerometer sensor configured to sense skull vibration during patient speech. Speech may induce vibrations conducted through the bones of the skull. Abnormality in speech motor control, which is indicative of occurrence of a pain episode or worsening pain, may correspond to a characteristic skull vibration pattern. The skull vibration pattern may be correlated to the pain type or pain intensity. In an example, the accelerometer is an implantable sensor on a lead surgically placed in or on the skull and coupled to the IND 112, or an injectable wireless sensor in communication with the IND 112. In another example, the accelerometer is a wearable sensor such as disposed on a headgear, where the accelerometer may be in secure contact with patient skull when the headgear is worn on the patient head. The captured facial image, and/or the recorded speech, may be processed to produce respective information corresponding to facial or vocal expression. Examples of the sensors configured to detect emotional expressions of a patient are discussed below, such as with reference to FIG. 4.

In various examples, in addition to the information corresponding to emotional expressions such as facial or vocal expressions, the sensor circuit 210 may further be coupled to one or more sensors to sense a physiological or functional signal. Various physiological signals, such as cardiac, pulmonary, neural, or biochemical signals may demonstrate characteristic signal properties in response to an onset, intensity, severity, duration, or patterns of pain. Examples of the physiological signals may include an electrocardiograph (ECG), intracardiac electrogram, gyrocardiography, magnetocardiography, a heart rate signal, a heart rate variability signal, a cardiovascular pressure signal, a heart sounds signal, a respiratory signal, a thoracic impedance signal, a respiratory sounds signal, or blood chemistry measurements or expression levels of one or more biomarkers. Examples of the functional signals may include patient posture, gait, balance, or physical activity signals, among others. The sensor circuit may sense the functional signals using a motion sensor, such as an accelerometer, gyroscope (which may be a one-, two-, or three-axis gyroscope), magnetometer (e.g., a compass), inclinometers, goniometers, electromagnetic tracking system (ETS), or a global positioning system (GPS) sensor, among others. Detailed description of functional signals for use in pain characterization are disclosed in commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,075, entitled “PAIN MANAGEMENT BASED ON FUNCTIONAL MEASUREMENTS”, the disclosures of which are incorporated herein by reference. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,053, entitled “PAIN MANAGEMENT BASED ON CARDIOVASCULAR PARAMETERS” describes cardiovascular parameters such as arterial pulsatile activity and electrocardiography for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,061, entitled “PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING” describes information of brain activity for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,061, entitled “PAIN MANAGEMENT BASED ON BRAIN ACTIVITY MONITORING” describes information of brain activity for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,069, entitled “PAIN MANAGEMENT BASED ON RESPIRATION-MEDIATED HEART RATES” describes information of respiration-mediated heart rate for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,092, entitled “PAIN MANAGEMENT BASED ON MUSCLE TENSION MEASUREMENTS” describes measurements of patient muscle tension including electromyography for use in pain analysis, the disclosure of which is incorporated herein by reference in its entirety. One or more of these additional signals or measurements may be used by the pain analyzer circuit 220 to generate a pain score.

The pain analyzer circuit 220 may generate a pain score based on at least the information corresponding to the emotional reaction to pain detected by the sensor circuit 210. The pain analyzer circuit 220 may be implemented as a part of a microprocessor circuit, which may be a dedicated processor such as a digital signal processor, application specific integrated circuit (ASIC), microprocessor, or other type of processor for processing information including physical activity information. Alternatively, the microprocessor circuit may be a general purpose processor that may receive and execute a set of instructions of performing the functions, methods, or techniques described herein.

The pain analyzer circuit 220 may include circuit sets comprising one or more other circuits or sub-circuits that may, alone or in combination, perform the functions, methods or techniques described herein. In an example, hardware of the circuit set may be immutably designed to carry out a specific operation (e.g., hardwired). In an example, the hardware of the circuit set may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.) including a computer readable medium physically modified (e.g., magnetically, electrically, moveable placement of invariant massed particles, etc.) to encode instructions of the specific operation. In connecting the physical components, the underlying electrical properties of a hardware constituent are changed, for example, from an insulator to a conductor or vice versa. The instructions enable embedded hardware (e.g., the execution units or a loading mechanism) to create members of the circuit set in hardware via the variable connections to carry out portions of the specific operation when in operation. Accordingly, the computer readable medium is communicatively coupled to the other components of the circuit set member when the device is operating. In an example, any of the physical components may be used in more than one member of more than one circuit set. For example, under operation, execution units may be used in a first circuit of a first circuit set at one point in time and reused by a second circuit in the first circuit set, or by a third circuit in a second circuit set at a different time.

As illustrated in FIG. 2, the pain analyzer circuit 220 may include a signal metrics generator 221 and a pain score generator 225. The signal metrics generator 221 may generate from the sensed signals one or more signal metrics. The signal metrics may include statistical parameters extracted from the sensed signal, such as signal mean, median, or other central tendency measures or a histogram of the signal intensity, among others. The signal metrics may additionally or alternatively include morphological parameters such as maximum or minimum within a specified time period, positive or negative slope or higher order statistics, or signal power spectral density at a specified frequency range, among other morphological parameters. The signal metrics may additionally include timing information such as a time interval between a first characteristic point in one signal and a second characteristic point in another signal.

By way of example and as illustrated in FIG. 2, the signal metrics generator 221 may include one or more of an image processor 222 and a speech processor 223. The image processor 222 may be configured to analyze the captured facial image during a pain episode, and generate a facial expression metric from the captured facial image. In an example, the image processor 222 may process the facial image by performing one or more of image segmentation, transformation, feature extraction, and pattern recognition. The image segmentation includes partitioning the facial image into different segments representing specific facial landmarks. The transformation includes mathematically transforming the image data (e.g., digital image data) into representations in a temporal, spatial, or frequency domain to facilitate feature extraction. The feature extraction includes extracting, from the processed image segments, one or more facial expression metrics of a facial landmark, such as an eye, a nose, a mouth, or a cheek. By way of example and not limitation, the facial expression metrics may include, for example, metrics of lowered brows, raised cheeks, tightened eyelids, a raised upper lip, an open mouth, or closed eyes, among other characteristic facial expressions indicative of emotional reaction to pain. In some examples, the facial expression metrics may be extracted from a sequence of facial images or a facial video. The facial expression metrics may include spatial, temporal, or spatiotemporal change, rate of change, or other motion descriptions of a facial landmark.

The speech processor 223 may be configured to analyze the recorded voice or speech, and generate a vocal expression metric from the recorded voice or speech. Patient with chronic pain may present with impaired cognitive function, emotional and psychological distress, depression, and motor control impairment. Chronic pain can directly or indirectly result in abnormality in speech motor control. The speech processor 223 may process the recorded voice or speech by performing one or more of speech segmentation, transformation, feature extraction, and pattern recognition. The speech segmentation may include partitioning the recorded speech or voice into different segments representing specified speech tasks such as a group of words, syllables, or phonemes. The transformation includes mathematically transforming the speech data (e.g., digital speech signal) into representations in a specific temporal or frequency domain to facilitate feature extraction or recognition. By feature extraction, one or more vocal expression metrics may be generated from the processed speech segments using one of speech recognition algorithms, such as a neural network model, logistic regression model, generalized linear model (GLM), a Hidden-Markov model, a dynamic time warping, among other supervised or unsupervised machine learning algorithms.

The vocal expression metric may include speech motor control features corresponding to production of voice and speech, and speech content-based features based on contents of patient speech regarding intensity, duration, or pattern of pain sensation. Examples of the speech motor control features may include speed, volume, pitch, inclination, regularity, and degree of coordination during speech. In an example, the vocal expression metrics may be measured during a supervised session when the patient rapidly pronounces specific syllables or words, an activity that requires fine coordinated movement of jaw, lips, and anterior and posterior tongue. Speech motor slowness, such as slower syllable pronunciation or an increased variability of accuracy in syllable pronunciation, may be correlative to intensity or duration of pain.

Metrics of emotional expressions such as facial or vocal expression metrics may include time-domain features such as signal magnitude or variance, frequency-domain features such as power spectra at specified frequency bands, spectral entropy, frequency modulation of speech, or other transformed-domain features such as obtained from wavelet decomposition or speech signal filtering through a filter bank. In some examples, the feature extraction and recognition may include reducing the feature dimensionality through feature space projection such as a principal component analysis (PCA). Examples of the signal metrics for pain quantification are discussed below, such as with reference to FIG. 4.

The pain score generator 225 may generate a pain score using the measurements of the signal metrics generated by the signal metrics generator 221. The pain score can be represented as a numerical or categorical value that quantifies the patient's overall pain symptom. In an example, a composite pain score may be generated using a combination of a plurality of facial expression metrics, a combination of a plurality of vocal expression metrics, or a combination of at least one facial expression metric and at least one vocal expression metric. In some examples, the pain score generator 225 may use one or more signals metrics generated from a physiological or functional signal, in addition to the facial or vocal expression metrics, to generate the pain score. The signal metrics may be weighted by their respective weight factors before being combined. The combination can be linear or nonlinear. The pain score generator 225 may compare the composite signal metric to one or more threshold values or range values, and assign a corresponding pain score (such as numerical values from 0 to 10) based on the comparison.

In another example, the pain score generator 225 may compare the signal metrics to their respective threshold values or range values, assign corresponding signal metric-specific pain score based on the comparison, and compute a composite pain score using a linear or nonlinear fusion of the signal metric-specific pain scores weighted by their respective weight factors. In an example, the threshold can be inversely proportional to signal metric's sensitivity to pain. A signal metric that is more sensitive to pain may have a corresponding lower threshold and a larger metric-specific pain score, thus plays a more dominant role in the composite pain score than another signal metric that is less sensitive to pain. Examples of the fusion algorithm may include weighted averages, voting, decision trees, or neural networks, among others. The pain score generated by the pain score generator 225 may be output to a system user or a process.

In some example, the pain score generator 225 may generate a metric-specific pain score based on a comparison of the facial or vocal expression metric to a template Ti. The template Ti may be an individualized or population-based representative facial or vocal expression pattern when the patient experiences pain. The pain score generator 225 may compute a similarity measure between the facial or vocal expression metric and their respective template, and determine the metric-specific pain score based on the similarity measure. In an example, the pain score generator 225 may generate a facial expression metric-specific pain score X_(Fi) based on a comparison of (a) the facial expression metric Fi of a specified facial landmark and (b) a facial image template TF_(i) of the same specified facial landmark. The facial image template Ti may be formed from an individual patient baseline, such as an image of the specified facial landmark when the patient experiences a known pain episode. Alternatively, the facial image template TFi may be formed from a population database, and represent a universal image of the specified facial landmark when the patients experience pain. The facial image template TFi thus formed can be referred to as a representative “pain template” of the specified facial landmark. Alternatively, the facial image template TFi may be a “pain-free template” formed using individualized or population-based images when the patient experiences no known pain. A similarity measure between the facial expression metric Fi and the template TFi, denoted by S(Fi, TFi), may be computed. Examples of the similarity measure may include distance in a normed vector space (such as L1 norm, L2 norm or Euclidian distance, and infinite norm), correlation coefficient, mutual information, or ratio image uniformity, among others.

The metric-specific pain score X_(Fi) may be determined as a function of the similarity measure S(Fi,TFi), that is, X_(Fi)=ƒ(S(Fi, TFi)), where ƒ is linear or nonlinear function. In an example, the X_(Fi) may be proportional to the similarity measure S(Fi,TFi), that is, X_(Fi)=k*(S(Fi, TFi), where k is a positive coefficient. A higher pain score may be assigned for the facial expression metric Fi if it highly resembles the individualized or population-based “pain template.” In a similar fashion, the pain score generator 225 may generate additional facial expression metric-specific pain score X_(Fj) pertaining to a different facial expression metric Fj. The metrics Fi and Fj may be selected from, for example, lowered brows, raised cheeks, tightened eyelids, a raised upper lip, an open mouth, or closed eyes, among other characteristic facial expressions indicative of emotional effect of pain. The pain score generator 225 may generate a composite pain score X such as a weighted combination of the metric-specific pain scores X_(Fi) and X_(Fj).

In a similar fashion, the pain score generator 225 may compute vocal expression metric-specific pain score X_(Vi) and X_(Vj) based on similarity measures between vocal expression metrics (e.g., Vi and Vj) and their respective speech templates (e.g., TSi and TSj), and compute composite pain score X such as a weighted combination of the metric-specific pain scores X_(Vi) and X_(Vj). In some examples, the composite pain score X may be computed as weighted combination of both the metric-specific pain scores pertaining to facial image metrics (e.g., X_(Fi) and X_(Fj)) and the metric-specific pain scores pertaining to vocal expression metrics (e.g., X_(Vi) and X_(Vj)).

The memory 230 may be configured to store sensor signals or signal metrics such as generated by the sensor circuit 210 and the signal metrics generator 221, and the pain scores such as generated by the pain score generator 225. Data storage at the memory 230 may be continuous, periodic, or triggered by a user command or a specified event. In an example, as illustrated in FIG. 2, the memory 230 may store weight factors, which may be used by the pain score generator 225 to generate the pain score. The weight factors may be provided by a system user, or alternatively be automatically determined or adjusted such as based on the corresponding signal metrics' reliability in representing an intensity of the pain. Examples of the automatic weight factor generation are discussed below, such as with reference to FIG. 3.

The user interface 240 may include an input circuit 241 and an output unit 242. In an example, at least a portion of the user interface 240 may be implemented in the external system 130. The input circuit 241 may enable a system user to program the parameters used for sensing the image, speech, or other physiological or functional signals, generating signal metrics, or generating the pain score. The input circuit 241 may be coupled to one or more input devices such as a keyboard, on-screen keyboard, mouse, trackball, touchpad, touch-screen, or other pointing or navigating devices. In some example, the input circuit 241 may be incorporated in a mobile device such as a smart phone or other portable electronic device with a mobile application (“App”). The mobile App may enable a patient to provide self-reported pain episode and quantified pain scales. In an example, the input circuit 241 may enable a user to confirm, reject, or edit the programming of the therapy unit 250, such as parameters for electrostimulation, as to be discussed in the following.

The output unit 242 may include a display to present to a system user such as a clinician the pain score. The output unit 242 may also display information including the sensor signals, trends of the signal metric, or any intermediary results for pain score calculation such as the signal metric-specific pain scores. The information may be presented in a table, a chart, a diagram, or any other types of textual, tabular, or graphical presentation formats, for displaying to a system user. The presentation of the output information may include audio or other human-perceptible media format. In an example, the output unit 242 may generate alerts, alarms, emergency calls, or other forms of warnings to signal the system user about the pain score.

The therapy circuit 250 may be configured to deliver a therapy to the patient in response to the pain score. In an example, the therapy circuit 250 may include an electrostimulator configured to generate electrostimulation energy to treat pain. In an example, the electrostimulator may deliver spinal cord stimulation (SCS) via electrodes electrically coupled to the electrostimulator. The electrodes may be surgically placed at a region at or near a spinal cord tissue, which may include, by way of example and not limitation, dorsal column, dorsal horn, spinal nerve roots such as the dorsal nerve root, and dorsal root ganglia. The SCS may be in a form of stimulation pulses that are characterized by pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, temporal pattern of the stimulation, among other stimulation parameters. Examples of the stimulation pattern may include burst stimulation with substantially identical inter-pulse intervals, or ramp stimulation with incremental inter-pulse intervals or with decremental inter-pulse intervals. In some examples, the frequency or the pulse width may change from pulse to pulse. The electrostimulator may additionally or alternatively deliver electrostimulation to other target tissues such as peripheral nerves tissues. In an example, the electrostimulator may deliver transcutaneous electrical nerve stimulation (TENS) via detachable electrodes that are affixed to the skin.

The therapy circuit 250 may additionally or alternatively include a drug delivery system, such as an intrathecal drug delivery pump that may be surgically placed under the skin, which may be programmed to inject medication or biologics through a catheter to the area around the spinal cord. Other examples of drug delivery system may include a computerized patient-controlled analgesia pump that may deliver the prescribed pain medication to the patient such as via an intravenous line. In some examples, the therapy circuit 250 may be delivered according to the pain score received from the pain score generator 225.

FIG. 3 illustrates, by way of example and not limitation, another example of a pain management system 300, which may be an embodiment of the neuromodulation system 100 or the pain management system 200. The pain management system 300 may include an implantable neuromodulator 310 and an external system 320 which may be, respectively, embodiments of the IND 112 and the external system 130 as illustrated in FIG. 1. The external system 320 may be communicatively coupled to the implantable neuromodulator 310 via the communication link 120. The pain management system 300 may additionally include an external sensor device 330 coupled to the implantable neuromodulator 310 via a communication link 305.

The external sensor device 330 may include the sensor circuit 210, which may be coupled to one or more sensors to detect physiological or functional signals or information corresponding to emotional expressions of a patient, as previously discussed with reference to FIG. 1. The external sensor device 330 may be a portable device, such as an implantable or wearable patient monitor, a portal electronic device such as a smart phone, a smart wearable, a portable health monitor, a tablet, a laptop computer, or other types of portable computerized device. In an example, the external sensor device 330 may include a camera configured to capture a facial image of the patient, or a microphone and a voice recorder to record voice or speech of the patient. The external sensor device 330 may be a stationary device such as positioned in a room or attached to furniture to detect patient motor activities or emotional expressions when the patient enters, or remains within, an environment within the scope of surveillance of the stationary sensor. In some examples, the external sensor device 330 may include devices configured to receive patient self-reported pain perception, such as a patient diary via text and voice, or external conditions such as weather, temperature, patient stress level, or recent medication intake, among others.

The implantable neuromodulator 310 may be communicatively coupled to the external sensor device 330 via the communication link 305. Examples of the communication link 305 may include a wired connection including universal serial bus (USB) connection, or otherwise cables coupled to communication interfaces on both the mobile device 400 and the AMD 302. Alternatively, the communication link 302 may include a wireless connection including Bluetooth protocol, Ethernet, IEEE 802.11 wireless, an inductive telemetry link, or a radio-frequency telemetry link, among others. The sensor signals acquired by the external sensor device 330 may be transmitted to the implantable neuromodulator 310 continuously, periodically, or in response to a data transmission request from the implantable neuromodulator 310. As illustrated in FIG. 3, the implantable neuromodulator 310 may include several components of the pain management system 200 as illustrated in FIG. 2, including the pain analyzer circuit 220, the memory 230, and the therapy unit 250. As discussed with reference to FIG. 2, the pain analyzer circuit 220 includes the pain score generator 225 that determines a pain score using weight factors stored in the memory 230 and the signal metrics from the signal metrics generator 221 which may also be included in the pain analyzer circuit 220. In some examples, the signal metrics generator 221 may be implemented in the external sensor device 330. The signal metrics, such as facial or vocal expression metrics, may be transmitted to the implantable neuromodulator 310 via the communication link 305.

The implantable neuromodulator 310 may include a controller circuit 312, coupled to the therapy unit 250, which controls the generation and delivery of pain therapy, such as neurostimulation energy. The controller circuit 312 may control the generation of electrostimulation pulses according to specified stimulation parameters. The stimulation parameters may be provided by a system user. Alternatively, the stimulation parameters may be automatically determined based on the intensity, severity, duration, or pattern of pain, which may be subjectively described by the patient or automatically quantified based on the physiological or functional signals sensed by the sensor circuit 210. For example, when a patient-described or sensor-indicated quantification exceeds a respective threshold value or falls within a specified range indicating elevated pain, the electrostimulation energy may be increased to provide stronger pain relief. Increased electrostimulation energy may be achieved by programming a higher pulse intensity, a higher frequency, or a longer stimulation duration or “on” cycle, among others. Conversely, when a patient-described or sensor-indicated pain quantification falls below a respective threshold value or falls within a specified range indicating no pain or mild pain, the electrostimulation energy may be decreased. The controller circuit 312 may also adjust stimulation parameters to alleviate side effects introduced by the electrostimulation of the target tissue.

Additionally or alternatively, the controller circuit 312 may control the therapy unit 250 to deliver electrostimulation pulses via specified electrodes. In an example of pain management via SCS, a plurality of segmented electrodes, such as the electrodes 116, may be distributed in one or more leads. The controller circuit 312 may configure the therapy unit 250 to deliver electrostimulation pulses via a set of electrodes selected from the plurality of electrodes. The electrodes may be manually selected by a system user, or automatically selected based on the pain score.

The implantable neuromodulator 310 may receive the information about electrostimulation parameters and the electrode configuration from the external system 320 via the communication link 120. Additional parameters associated with operation of the therapy unit 250, such as battery status, lead impedance and integrity, or device diagnostic of the implantable neuromodulator 310, may be transmitted to the external system 320. The controller circuit 312 may control the generation and delivery of electrostimulation using the information about electrostimulation parameters and the electrode configuration from the external system 320. Examples of the electrostimulation parameters and electrode configuration may include: temporal modulation parameters such as pulse amplitude, pulse width, pulse rate, or burst intensity; morphological modulation parameters respectively defining one or more portions of stimulation waveform morphology such as amplitude of different phases or pulses included in a stimulation burst; or spatial modulation parameters such as selection of active electrodes, electrode combinations which define the electrodes that are activated as anodes (positive), cathodes (negative), and turned off (zero), and stimulation energy fractionalization which defines amount of current, voltage, or energy assigned to each active electrode and thereby determines spatial distribution of the modulation field.

In an example, the controller circuit 312 may control the generation and delivery of electrostimulation in a closed-loop fashion by adaptively adjusting one or more stimulation parameters or stimulation electrode configuration based on the pain score. For example, if the score exceeds the pain threshold (or falls within a specified range indicating an elevated pain), then the first electrostimulation may be delivered. Conversely, if the multi-sensor pain score falls below a respective threshold value (or falls within a specified range indicating no pain or mild pain), then a second pain therapy, such as second electrostimulation may be delivered. The first electrostimulation may differ from the second electrostimulation with respect to at least one of the stimulation energy, pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, electrostimulation pattern such as electrode configuration or energy fractionalization among active electrodes, among other stimulation parameters. In an example, the first electrostimulation may have higher energy than the second electrostimulation, such as to provide stronger effect of pain relief. Examples of increased electrostimulation energy may include a higher pulse intensity, a higher frequency, or a longer stimulation duration or “on” cycle, among others.

The parameter adjustment or stimulation electrode configuration may be executed continuously, periodically at specified time, duration, or frequency, or in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment. In some examples, the closed-loop control of the electrostimulation may be further based on the type of the pain, such as chronic or acute pain. In an example, the pain analyzer circuit 220 may trend the signal metric over time to compute an indication of abruptness of change of the signal metrics, such as a rate of change of facial or vocal expression metrics. The pain episode may be characterized as acute pain if the signal metric changes abruptly (e.g., the rate of change of the signal metric exceeding a threshold), or as chronic pain if the signal metric changes gradually (e.g., the rate of change of the signal metric falling below a threshold). The controller circuit 312 may control the therapy unit 250 to deliver, withhold, or otherwise modify the pain therapy in accordance with the pain type. For example, incidents such as toe stubbing or bodily injuries may cause abrupt changes in certain signal metrics, but no adjustment of the closed-loop pain therapy is deemed necessary. On the contrary, if the pain analyzer circuit 220 detects chronic pain characterized by gradual signal metric change, then the closed-loop pain therapy may be delivered accordingly.

The external system 320 may include the user interface 240, a weight generator 322, and a programmer circuit 324. The weight generator 322 may generate weight factors used by the pain score generator 225 to generate the pain score. The weight factors may indicate the signal metrics' reliability in representing an intensity of the pain. A sensor metric that is more reliable, or more sensitive or specific to the pain, would be assigned a larger weight than another sensor metric that is less reliable, or less sensitive or specific to the pain. In an example, the weight factors may be proportional to correlations between a plurality of quantified pain scales (such as reported by a patient) and measurements of the measurements of the signal metrics corresponding to the plurality of quantified pain scales. A signal metric that correlates with the pain scales is deemed a more reliable signal metric for pain quantification, and is assigned a larger weight factor than another signal metric less correlated with the quantified pain scales. In another example, the weight generator 322 may determine weight factors using the signal sensitivity to pain. The signal metrics may be trended over time, such as over approximately six months. The signal sensitivity to pain may be represented by a rate of change of the signal metrics over time during a pain episode. The signal sensitivity to pain may be evaluated under a controlled condition such as when the patient posture or activity is at a specified level or during specified time of the day. The weight generator 322 may determine weight factors to be proportional to signal metric's sensitivity to pain.

The programmer circuit 324 may produce parameter values for operating the implantable neuromodulator 310, including parameters for sensing physiological and functional signals and generating signal metrics, and parameters or electrode configurations for electrostimulation. In an example, the programmer circuit 324 may generate the stimulation parameters or electrode configurations for SCS based on the pain score produced by the pain score generator 225. Through the communication link 120, the programmer circuit 324 may continuously or periodically provide adjusted stimulation parameters or electrode configuration to the implantable neuromodulator 210A. By way of non-limiting example and as illustrated in FIG. 3, the programmer circuit 324 may be coupled to the user interface 234 to allow a user to confirm, reject, or edit the stimulation parameters, sensing parameters, or other parameters controlling the operation of the implantable neuromodulator 210A. The programmer circuit 324 may also adjust the stimulation parameter or electrode configuration in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment.

The programmer circuit 324, which may be coupled to the weight generator 322, may initiate a transmission of the weight factors generated by the weight generator 322 to the implantable neuromodulator 310, and store the weight factors in the memory 230. In an example, the weight factors received from the external system 320 may be compared to previously stored weight factors in the memory 230. The controller circuit 312 may update the weight factors stored in the memory 230 if the received weight factors are different than the stored weights. The pain analyzer circuit 220 may use the updated weight factors to generate a pain score. In an example, the update of the stored weight factors may be performed continuously, periodically, or in a commanded mode upon receiving a command from a user. In various examples, weight factors may be updated using a fusion model. Commonly assigned U.S. Provisional Patent Application Ser. No. 62/445,095, entitled “PATIENT-SPECIFIC CALIBRATION OF PAIN QUANTIFICATION” describes systems and methods for calibrating a fusion model, such as adjusting weights for signal metrics, using a reference pain quantification, the disclosure of which is incorporated herein by reference in its entirety.

In some examples, the pain score may be used by a therapy unit (such as an electrostimulator) separated from the pain management system 300. In various examples, the pain management system 300 may be configured as a monitoring system for pain characterization and quantification without delivering closed-loop electrostimulation or other modalities of pain therapy. The pain characterization and quantification may be provided to a system user such as the patient or a clinician, or to a process including, for example, an instance of a computer program executable in a microprocessor. In an example, the process includes computer-implemented generation of recommendations or an alert to the system user regarding pain medication (e.g., medication dosage and time for taking a dose), electrostimulation therapy, or other pain management regimens. The therapy recommendations or alert may be based on the pain score, and may be presented to the patient or the clinician in various settings including in-office assessments (e.g. spinal cord stimulation programming optimization), in-hospital monitoring (e.g. opioid dosing during surgery), or ambulatory monitoring (e.g. pharmaceutical dosing recommendations).

In an example, in response to the pain score exceeding a threshold which indicates elevated pain symptom, an alert may be generated and presented at the user interface 240 to remind the patient to take pain medication. In another example, therapy recommendations or alerts may be based on information about wearing-off effect of pain medication, which may be stored in the memory 230 or received from the user interface 240. When the drug effect has worn off, an alert may be generated to remind the patient to take another dose or to request a clinician review of the pain prescription. In yet another example, before a pain therapy such as neurostimulation therapy is adjusted (such as based on the pain score) and delivered to the patient, an alert may be generated to forewarn the patient or the clinician of any impending adverse events. This may be useful as some pain medication may have fatal or debilitating side effects. In some examples, the pain management system 300 may identify effect of pain medication addiction such as based on functional and physiological signals. An alert may be generated to warn the patient about effects of medication addiction and thus allow medical intervention.

FIG. 4 illustrates, by way of example and not limitation, a block diagram of a mobile device 400 for detecting information corresponding to various emotional expressions indicative of pain. The mobile device 400, which is an embodiment of the external sensor device 330, may be configured for wireless communication with the implantable neuromodulator 310 and to execute mobile applications (“apps”) to detect the facial or vocal expression. Examples of the mobile device 400 may include a smart phone, a wearable device, a portable health monitor, a tablet, a laptop computer, or other types of portable computerized device.

The mobile device 400 may comprise a user interface 410 to receive user input, one or more sensors 420 to sense information corresponding to patient emotional reaction to pain, and a processor configured to execute one or more mobile apps 430 to generate respective facial or vocal expression metrics indicative of pain. The user interface 410 may include an input circuit and a display screen. The input circuit may be coupled an input device such as a keyboard, an on-screen keyboard, a touchpad, or a touch-screen, which enables a user to enter texts when prompted to do so. Patient with chronic pain may present with impaired cognitive function, emotional and psychological distress, or depression, among other disorders. In an example, one or more questions or instructions may be displayed on the screen of the user interface 410. The patient user is prompted to answer the questions or perform acts according to the instructions, such as by entering texts using the input device such as a keyboard or a touchpad. In an example, the patient may be prompted to answer questions such as “How are you feeling today?”, “Has your back pain improved?”, “Select from the following that best describe your pain.” Additionally or alternatively, the subjective pain analyzer circuit 432 may operate in a passive mode by extracting textual description of the pain experience from patient regular text messages entered via the user interface 410. Patient subject description of the pain, including the location, intensity, duration, or pattern of pain may be analyzed by the mobile apps and used in pain score calculation.

The sensors 420 may include one more sensors to sense information corresponding to emotional expressions in reaction to pain. By way of example and not limitation, the sensors 420 may include one or more of a camera 422 configured to capture a facial image of the patient, or a voice recorder 424 configured to record voice or speech of the patient. The mobile device 400 may be coupled to one or more external sensors associated with the patient. In an example, the mobile device 400 may be in a wired or wireless communication with a head-mounted accelerometer configured to sense skull vibration during speech, a signal that is correlative to the motor control of speech.

The sensors 420 may capture respective facial image or video, or speech or voice of the patient when the patient is prompted with questions display on the screen of the user interface. Additionally or alternatively, one or more of the sensors 420 may operate in an unprompted passive mode during patient normal use of the mobile device 400. For example, the camera 422 may capture a facial image or video when the patient stares at the display screen such as when reading an email message or browsing web content. The voice recorder 424 may record a spontaneous speech when the patient answers a phone call or leaves a voice mail.

The mobile apps 430 may be coupled to the use interface 410 and one or more of the sensor 420, and configured to generate facial or vocal expression metrics indicative of pain. By way of example and not limitation, the mobile apps 430 may include a subjective pain analyzer circuit app 432, a facial image analyzer app 434, and a speech motor control analyzer app 436. The subjective pain analyzer circuit app 432 may analyze the patient subjective description of the pain symptoms, which may include patient textual input received via the user interface 410, or the content of patient speech regarding the pain perception received via the voice recorder 424. The subjective pain analyzer circuit 432 may generate a subject pain indicator which may be represented by a numerical or categorical value. In an example, the text or voice communications over a period of time may be stored in the memory 440. The subjective pain analyzer circuit 432 may trend the subjective pain indicator over time using the historical text or voice communications, and generate a trend of worsened subjectively described pain symptom. The subjective pain indicator or the trend thereof may be used by the pain score generator 225 to generate a pain score.

The facial image analyzer app 434 and the speech motor control analyzer app 436 are respective embodiments of software implementations of the image processor 222 and the speech processor 223 as illustrated in FIG. 2. The facial image analyzer app 434 may process the facial image or images of one or more facial landmarks captured by the camera 422, and generate one or more facial expression metrics. The speech motor control analyzer app 436 may process the recorded speech and generate one or more vocal expression metrics corresponding to speech motor control. In some examples, the speech motor control analyzer app 436 may process the skull vibration signal such as sensed by a head-mounted accelerometer, and generate vibration signal metrics that are correlated to the speech motor control. The emotional expression metrics, including one or more of the subjective pain indicators, the facial expression metrics, or the vocal expression metrics, may be transmitted to the implantable neuromodulator 310 via the communication link 305. The pain score generator 225 may generate a pain score using the emotional expression metrics, such as described previously with reference to FIG. 3.

FIG. 5 illustrates, by way of example and not limitation, a method 500 for managing pain of a patient. The method 500 may be implemented in a medical system, such as the pain management system 200 or 300. In an example, at least a portion of the method 500 may be executed by a neuromodulator device (IND) such as the implantable neuromodulator 310. In an example, at least a portion of the method 500 may be executed by an external programmer or remote server-based patient management system, such as the external system 320 that are communicatively coupled to the IND. The method 500 may be used to provide neuromodulation therapy to treat chronic pain or other disorders.

The method 500 begins at step 510, where information corresponding emotional expressions, such as facial, vocal, or behavioral expressions, may be sensed from the patient. Chronic pain may have emotional or psychological effects. Patients with chronic pain may experience emotional and psychological distress, and present with characteristic facial expressions, and changes in vocal or behavioral expressions as a result of abnormalities in neurological or psychomotor functioning. Monitoring patient emotional expressions may provide an objective assessment of pain, and may be used to improve pain therapy efficacy.

Information corresponding to facial expression may include images or video sequence captured using a camera. Information corresponding to vocal expression may include speech signals captured using a microphone and a voice recorder. The information corresponding to patient emotional reaction to pain may be sensed using one or more implantable, wearable, or stationary sensors, or one or more sensors disposed in a mobile device, such as a smart phone, a wearable health monitor, a tablet, a laptop computer, or other types of portable computerized device. In an example, the camera or the voice recorder may be disposed in a mobile device, as illustrated in FIG. 4. In some examples, information corresponding to vocal expression sensed at 510 may include skull vibration signals during patient speech, such as sensed using an accelerometer sensor implanted in or worn on the patient skull. Speech-induced vibration may be conducted through the bones of the skull. When in chronic pain, a patient may present with characteristic voice or speech pattern, which may result in characteristic skull vibrations signals. The skull vibration signal may be correlated to the pain intensity or duration.

In some examples, in addition to the information corresponding to emotional expressions such as facial or vocal expressions, one or more physiological or functional signals may also be sensed at 510. Various physiological signals, such as cardiac, pulmonary, neural, or biochemical signals may demonstrate characteristic signal properties in response to an onset, intensity, severity, duration, or patterns of pain. Examples of the physiological signals may include an electrocardiograph (ECG) or intracardiac electrogram, a heart rate signal, a heart rate variability signal, a cardiovascular pressure signal, a heart sounds signal, a respiratory signal, a thoracic impedance signal, a respiratory sounds signal, or blood chemistry measurements or expression levels of one or more biomarkers. Examples of the functional signals may include patient posture, gait, balance, or physical activity signals, among others.

At 520, a plurality of signal metrics may be generated from the sensed information corresponding to emotional expressions. The signal metrics may include statistical, morphological, or temporal metrics. Metrics of emotional expressions may include time-domain features such as signal magnitude or variance, frequency-domain features such as power spectra at specified frequency bands, spectral entropy, frequency modulation of speech, or other transformed-domain features such as obtained from wavelet decomposition or speech signal filtering through a filter bank. In some examples, the signal metrics may be projected onto specific direction on the feature space for dimensionality reduction, such as by using principal component analysis (PCA).

In an example, at 520, the facial image may be processed, including one or more of image segmentation, transformation, feature extraction, and pattern recognition. From the processed facial image, one or more facial expression metrics of a facial landmark, such as an eye, a nose, a mouth, or a cheek, may be extracted, such as by using the image processor 222, or by executing an mobile application such as the facial image analyzer app 434 implemented in the mobile device 300. Examples of the facial expression metrics may include lowered brows, raised cheeks, tightened eyelids, a raised upper lip, an open mouth, or closed eyes, among other characteristic facial expressions indicative of emotional effect of pain. The facial expression metrics may include spatial, temporal, or spatiotemporal change, rate of change, or other motion descriptions of the facial landmark appearance.

In another example, the recorded voice or speech may be processed at 520, including one or more of speech segmentation, transformation, feature extraction, and pattern recognition. From the processed voice or speech signal, one or more vocal expression metrics corresponding to speech motor control may be extracted, such as by using the speech processor 223, or by executing an mobile application such as the speech motor control analyzer app 436 implemented in the mobile device 300. Examples of the vocal expression metrics related to speech motor control may include speed, volume, pitch, inclination, regularity, and degree of coordination during speech. In some examples, the vocal expression metrics may be measured during a supervised session when the patient rapidly pronounces specific syllables or words that requires fine coordinated movement of jaw, lips, and anterior and posterior tongue. Speech motor slowness such as slower syllable pronunciation, or an increased variability of accuracy in syllable pronunciation, may indicate intensity or duration of pain.

At 530, a pain score may be generated using the measurements of the signal metrics. The pain score may be generated using a combination of a plurality of facial expression metrics, a combination of a plurality of vocal expression metrics, or a combination of at least one facial expression metric and at least one vocal expression metric. In some examples, one or more signal metrics generated from a physiological or functional signal may additionally be used to generate the pain score. The pain score may be represented as a numerical or categorical value that quantifies overall pain quality in the subject. In an example, a composite signal metric may be generated using a linear or nonlinear combination of the signal metrics respectively weighted by weight factors. The composite signal metric may be categorized as one of a number of degrees of pain by comparing the composite signal metric to one or more threshold values or range values, and a corresponding pain score may be assigned based on the comparison.

In another example, each signal metric may be compared to a respectively specified threshold or range values and a corresponding signal metric-specific pain score may be determined. In some example, a metric-specific pain score based on a comparison of the facial or vocal expression metric to a template that represents individualized or population-based representative facial or vocal expression pattern when the patient undergoes pain. The metric-specific pain score may be determined based on a similarity measure between facial or vocal expression metric and the respective template. Examples of the similarity measure may include distance in a normed vector space (such as L1 norm, L2 norm or Euclidian distance, and infinite norm), correlation coefficient, mutual information, or ratio image uniformity, among others.

A composite pain score may be generated using a linear or nonlinear fusion of the signal metric-specific pain scores each weighted by their respective weight factors. Examples of the fusion algorithm may include decision trees, voting, weighted averages, or neural networks, among others. In some examples, the pain score may be computed using a subset of the signal metrics selected based on their temporal profile of pain response. Signal metrics with quick pain response (or a shorter transient state of response) may be selected to compute the pain score during a pain episode. Signal metrics with slow or delayed pain response (or a longer transient state of response before reaching a steady state) may be used to compute the pain score after an extended period following the onset of pain such as to allow the signal metrics to reach steady state of response.

At 542, the pain score may be output to a user or to a process, such as via the output unit 242 as illustrated in FIG. 2. The pain score, including the composite pain score and optionally together with metric-specific pain scores, may be displayed on a display screen. Other information, such as the facial image or video sequence or recorded voice or speech, and the signal metrics generated therefrom, may also be output for display or for further processing. In some examples, alerts, alarms, emergency calls, or other forms of warnings may be generated to signal the system user about occurrence of a pain episode or aggravation of pain as indicated by the pain score.

The method 500 may include, at 544, an additional step of delivering a pain therapy to the patient according to the pain score. The pain therapy may include electrostimulation therapy, such as spinal cord stimulation (SCS) via electrodes electrically coupled to the electrostimulator. The SCS may be in a form of stimulation pulses that are characterized by pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, waveform, among other stimulation parameters. Other electrostimulation therapy, such as one or a combination of DBS, FES, VNS, TNS, or PNS at various locations, may be delivered for pain management. The pain therapy may additionally or alternatively include a drug therapy such as delivered by using an intrathecal drug delivery pump.

In various examples, the pain therapy (such as in the form of electrostimulation or drug therapy) may be delivered in a closed-loop fashion. Therapy parameters, such as stimulation waveform parameters, stimulation electrode combination and fractionalization, drug dosage, may be adaptively adjusted based at least on the pain score. The pain-relief effect of the delivered pain therapy may be assessed based on the signal metrics such as the cardiovascular parameters, and the therapy may be adjusted to achieve desirable pain relief. The therapy adjustment may be executed continuously, periodically at specified time, duration, or frequency, or in a commanded mode upon receiving from a system user a command or confirmation of parameter adjustment. In an example, if the pain score exceeds the pain threshold (or falls within a specified range indicating an elevated pain), then the first electrostimulation may be delivered. Conversely, if the composite pain score falls below a respective threshold value (or falls within a specified range indicating no pain or mild pain), then a second pain therapy, such as second electrostimulation may be delivered. The first electrostimulation may differ from the second electrostimulation with respect to at least one of the stimulation energy, pulse amplitude, pulse width, stimulation frequency, duration, on-off cycle, pulse shape or waveform, electrostimulation pattern such as electrode configuration or energy fractionalization among active electrodes, among other stimulation parameters. The method 500 may proceed at 510 to sense information corresponding to emotional expressions in response to the therapy delivered at 544. In some examples, the responses of the signal metrics to pain therapy delivered at 544 may be used to gauge composite pain score computation such as by adjusting the weight factors. In an example, weight factors may be determined and adjusted via the weight generator 322 as illustrated in FIG. 3, to be proportional to signal metric's sensitivity to pain.

FIG. 6 illustrates generally a block diagram of an example machine 600 upon which any one or more of the techniques (e.g., methodologies) discussed herein may perform. Portions of this description may apply to the computing framework of various portions of the LCP device, the IMD, or the external programmer.

In alternative embodiments, the machine 600 may operate as a standalone device or may be connected (e.g., networked) to other machines. In a networked deployment, the machine 600 may operate in the capacity of a server machine, a client machine, or both in server-client network environments. In an example, the machine 600 may act as a peer machine in peer-to-peer (P2P) (or other distributed) network environment. The machine 600 may be a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a mobile telephone, a web appliance, a network router, switch or bridge, or any machine capable of executing instructions (sequential or otherwise) that specify actions to be taken by that machine. Further, while only a single machine is illustrated, the term “machine” shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein, such as cloud computing, software as a service (SaaS), other computer cluster configurations.

Examples, as described herein, may include, or may operate by, logic or a number of components, or mechanisms. Circuit sets are a collection of circuits implemented in tangible entities that include hardware (e.g., simple circuits, gates, logic, etc.). Circuit set membership may be flexible over time and underlying hardware variability. Circuit sets include members that may, alone or in combination, perform specified operations when operating. In an example, hardware of the circuit set may be immutably designed to carry out a specific operation (e.g., hardwired). In an example, the hardware of the circuit set may include variably connected physical components (e.g., execution units, transistors, simple circuits, etc.) including a computer readable medium physically modified (e.g., magnetically, electrically, moveable placement of invariant massed particles, etc.) to encode instructions of the specific operation. In connecting the physical components, the underlying electrical properties of a hardware constituent are changed, for example, from an insulator to a conductor or vice versa. The instructions enable embedded hardware (e.g., the execution units or a loading mechanism) to create members of the circuit set in hardware via the variable connections to carry out portions of the specific operation when in operation. Accordingly, the computer readable medium is communicatively coupled to the other components of the circuit set member when the device is operating. In an example, any of the physical components may be used in more than one member of more than one circuit set. For example, under operation, execution units may be used in a first circuit of a first circuit set at one point in time and reused by a second circuit in the first circuit set, or by a third circuit in a second circuit set at a different time.

Machine (e.g., computer system) 600 may include a hardware processor 602 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a hardware processor core, or any combination thereof), a main memory 604 and a static memory 606, some or all of which may communicate with each other via an interlink (e.g., bus) 608. The machine 600 may further include a display unit 610 (e.g., a raster display, vector display, holographic display, etc.), an alphanumeric input device 612 (e.g., a keyboard), and a user interface (UI) navigation device 614 (e.g., a mouse). In an example, the display unit 610, input device 612 and UI navigation device 614 may be a touch screen display. The machine 600 may additionally include a storage device (e.g., drive unit) 616, a signal generation device 618 (e.g., a speaker), a network interface device 620, and one or more sensors 621, such as a global positioning system (GPS) sensor, compass, accelerometer, or other sensor. The machine 600 may include an output controller 628, such as a serial (e.g., universal serial bus (USB), parallel, or other wired or wireless (e.g., infrared (IR), near field communication (NFC), etc.) connection to communicate or control one or more peripheral devices (e.g., a printer, card reader, etc.).

The storage device 616 may include a machine readable medium 622 on which is stored one or more sets of data structures or instructions 624 (e.g., software) embodying or utilized by any one or more of the techniques or functions described herein. The instructions 624 may also reside, completely or at least partially, within the main memory 604, within static memory 606, or within the hardware processor 602 during execution thereof by the machine 600. In an example, one or any combination of the hardware processor 602, the main memory 604, the static memory 606, or the storage device 616 may constitute machine readable media.

While the machine readable medium 622 is illustrated as a single medium, the term “machine readable medium” may include a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) configured to store the one or more instructions 624.

The term “machine readable medium” may include any medium that is capable of storing, encoding, or carrying instructions for execution by the machine 600 and that cause the machine 600 to perform any one or more of the techniques of the present disclosure, or that is capable of storing, encoding or carrying data structures used by or associated with such instructions. Non-limiting machine readable medium examples may include solid-state memories, and optical and magnetic media. In an example, a massed machine readable medium comprises a machine readable medium with a plurality of particles having invariant (e.g., rest) mass. Accordingly, massed machine-readable media are not transitory propagating signals. Specific examples of massed machine readable media may include: non-volatile memory, such as semiconductor memory devices (e.g., Electrically Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM)) and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks.

The instructions 624 may further be transmitted or received over a communications network 626 using a transmission medium via the network interface device 620 utilizing any one of a number of transfer protocols (e.g., frame relay, internet protocol (IP), transmission control protocol (TCP), user datagram protocol (UDP), hypertext transfer protocol (HTTP), etc.). Example communication networks may include a local area network (LAN), a wide area network (WAN), a packet data network (e.g., the Internet), mobile telephone networks (e.g., cellular networks), Plain Old Telephone (POTS) networks, and wireless data networks (e.g., Institute of Electrical and Electronics Engineers (IEEE) 802.11 family of standards known as WiFi®, IEEE 802.16 family of standards known as WiMax®), IEEE 802.15.4 family of standards, peer-to-peer (P2P) networks, among others. In an example, the network interface device 620 may include one or more physical jacks (e.g., Ethernet, coaxial, or phone jacks) or one or more antennas to connect to the communications network 626. In an example, the network interface device 620 may include a plurality of antennas to wirelessly communicate using at least one of single-input multiple-output (SIMO), multiple-input multiple-output (MIMO), or multiple-input single-output (MISO) techniques. The term “transmission medium” shall be taken to include any intangible medium that is capable of storing, encoding or carrying instructions for execution by the machine 600, and includes digital or analog communications signals or other intangible medium to facilitate communication of such software.

Various embodiments are illustrated in the figures above. One or more features from one or more of these embodiments may be combined to form other embodiments.

The method examples described herein can be machine or computer-implemented at least in part. Some examples may include a computer-readable medium or machine-readable medium encoded with instructions operable to configure an electronic device or system to perform methods as described in the above examples. An implementation of such methods may include code, such as microcode, assembly language code, a higher-level language code, or the like. Such code may include computer readable instructions for performing various methods. The code can form portions of computer program products. Further, the code can be tangibly stored on one or more volatile or non-volatile computer-readable media during execution or at other times.

The above detailed description is intended to be illustrative, and not restrictive. The scope of the disclosure should, therefore, be determined with references to the appended claims, along with the full scope of equivalents to which such claims are entitled. 

What is claimed is:
 1. A system for managing pain of a patient, the system comprising: a sensor circuit coupled to one or more sensors and configured to sense from the patient information corresponding to patient emotional reaction to pain including a skull vibration signal during patient speech; a pain analyzer circuit coupled to the sensor circuit, the pain analyzer circuit configured to generate, from the sensed information corresponding to the patient emotional reaction to pain, one or more signal metrics of facial or vocal expression including a skull vibration feature; and a controller circuit configured to generate a control signal to activate delivery of electrostimulation energy for pain relief based on the generated one or more signal metrics.
 2. The system of claim 1, further comprising an electrostimulator configured to generate electrostimulation energy to treat pain; wherein the pain analyzer is configured to generate a pain score using the generated one or more signal metrics, and the controller circuit is configured to control the electrostimulator to deliver a pain therapy and to control the electrostimulation energy generated by the electrostimulator according to the pain score.
 3. The system of claim 2, wherein the electrostimulator is further configured to deliver at least one of: a spinal cord stimulation; a brain stimulation; or a peripheral nerve stimulation.
 4. The system of claim 2, wherein the controller circuit is configured to deliver first electrostimulation to the patient in response to the pain score exceeding a threshold value, and to deliver second electrostimulation to the patient in response to the pain score falling below the threshold value; wherein the first electrostimulation differs from the second electrostimulation with respect to at least one of an electrostimulation energy, an electrostimulation pulse shape, or an electrostimulation pattern.
 5. The system of claim 2, wherein: the sensor circuit is coupled to a camera configured to capture a facial image of the patient; and the pain analyzer circuit is further configured to produce, from the facial image, a plurality of image features of a facial landmark, and to generate the pain score using the image features.
 6. The system of claim 5, wherein the pain analyzer circuit is further configured to generate the pain score based on a comparison of the produced plurality of image features and a facial image template.
 7. The system of claim 2, wherein: the sensor circuit is coupled to a voice recorder configured to record a speech signal of the patient; and the pain analyzer circuit is further configured to generate from the recorded speech signal a plurality of speech features, and to generate the pain score using the plurality of speech features.
 8. The system of claim 7, wherein the plurality of speech features correspond to speech motor control.
 9. The system of claim 2, wherein the pain analyzer circuit is further configured to generate the pain score using a combination of a plurality of the signal metrics each weighted by their respective weight factor.
 10. The system of claim 2, further comprising an implantable neuromodulator device (IND) that includes one or more of the sensor circuit, the pain analyzer circuit, or the electrostimulator.
 11. The system of claim 1, wherein the sensor circuit is coupled to an implantable or a wearable accelerometer sensor configured to sense the skull vibration signal during patient speech.
 12. The system of claim 1, wherein the one or more sensors configured to sense the information corresponding to the patient emotional reaction to pain are incorporated in a mobile device, wherein the mobile device is configured for wireless communication and to execute an application to detect the facial or vocal expression.
 13. A method for managing pain of a patient using an implantable neuromodulator device (IND), the method comprising: sensing, from the patient via a sensor circuit, information corresponding to patient emotional reaction to pain including a skull vibration signal during patient speech; generating, from the sensed information corresponding to the patient emotional reaction to pain, one or more signal metrics of facial or vocal expression including a skull vibration feature; and generating a control signal to activate delivery of electrostimulation energy for pain relief based on the generated one or more signal metrics.
 14. The method of claim 13, further comprising generating a pain score based on the one or more signal metrics, and delivering a pain therapy via the IND, the pain therapy including electrostimulation energy determined according to the pain score.
 15. The method of claim 14, wherein: the information corresponding to patient emotional reaction to pain includes a facial image of the patient; and the one or more signal metrics include a plurality of image features of a facial landmark generated from the sensed facial image.
 16. The method of claim 15, wherein generating the pain score includes using a comparison of the produced plurality of image features and a facial image template.
 17. The method of claim 14, wherein generating the pain score includes using a combination of a plurality of the signal metrics each weighted by their respective weight factor.
 18. The method of claim 13, wherein: the information corresponding to the patient emotional reaction to pain includes a speech signal of the patient; and the one or more signal metrics include a plurality of speech features generated from the sensed speech signal.
 19. The method of claim 18, wherein the plurality of speech features correspond to speech motor control.
 20. The method of claim 13, wherein the vibration feature includes a vibration pattern during patient speech. 